package cn.wolfcode.wolf2w.cloud.msg.service;

import cn.wolfode.wolf2w.cloud.commom.util.JsonResult;

public interface ISmsRedisService {
    /**
     * 将code添加到redis中
     * @param phone
     * @param code
     */
    void setVerifyCode(String phone, String code);


    /**
     * 获取验证码
     * @param phone
     * @return
     */
    String getVerifyCode(String phone);

}
